package com.party.core.model.gift;

/**
 * @Author: Administrator.
 * @Description: 礼包—目标关联关系
 * @Date:Created in 2017/11/14 0014 上午 10:50.
 */
public class GiftTarget {
    private String id;
    private String type; // 礼包类型
    private String condition; // 领取条件（支持者礼包/众筹报名礼包/众筹鼓励礼包/众筹成功礼包）
    private String conditionParams; // 条件参数
    private String targetId; // 目标id（众筹）
    private String giftId; // 礼包id
    private Long stock; // 发放总数
    private Long salesNum; // 领取总数

    public GiftTarget(String type, String condition, String targetId, String giftId) {
        this.type = type;
        this.condition = condition;
        this.targetId = targetId;
        this.giftId = giftId;
    }

    public GiftTarget(String condition, String targetId, String giftId) {
        this.condition = condition;
        this.targetId = targetId;
        this.giftId = giftId;
    }

    public GiftTarget(String targetId, String giftId) {
        this.targetId = targetId;
        this.giftId = giftId;
    }

    public GiftTarget() {
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getCondition() {
        return condition;
    }

    public void setCondition(String condition) {
        this.condition = condition;
    }

    public String getConditionParams() {
        return conditionParams;
    }

    public void setConditionParams(String conditionParams) {
        this.conditionParams = conditionParams;
    }

    public String getTargetId() {
        return targetId;
    }

    public void setTargetId(String targetId) {
        this.targetId = targetId;
    }

    public String getGiftId() {
        return giftId;
    }

    public void setGiftId(String giftId) {
        this.giftId = giftId;
    }

    public Long getStock() {
        return stock;
    }

    public void setStock(Long stock) {
        this.stock = stock;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Long getSalesNum() {
        return salesNum;
    }

    public void setSalesNum(Long salesNum) {
        this.salesNum = salesNum;
    }
}
